package com.fh.shop.api.member.biz;

import com.fh.shop.api.common.ServerResponse;
import com.fh.shop.api.member.param.EditPasswordParam;
import com.fh.shop.api.member.param.LoginParam;
import com.fh.shop.api.member.param.MemberParam;

public interface IMemberService {
    //注册
    ServerResponse reg(MemberParam memberParam);
    //登录
    ServerResponse login(LoginParam loginParam);
    //修改密码
    ServerResponse updatePassword(EditPasswordParam passwordParam);
    //激活会员,发送邮件
    int activeMember(String uuid);
    // 再次 -- 激活会员
    ServerResponse sendActiveMail(String mail);
    // 再次发送邮件 【根据邮箱激活】[方法是多种多样的,效果一样]
    boolean activeMailMember(String uuid);
}
